package org.springextensions.actionscript.mvcs.service.operation.events
{
	import flash.events.Event;
	
	import org.springextensions.actionscript.mvcs.service.operation.IOperation;

	public class OperationSequenceEvent extends Event
	{
		public static const EXECUTE_OPERATION:String = "ExecuteOperation";
		public static const ERROR:String = "Error";
		public static const COMPLETE:String = "Complete";
		
		public var operation:IOperation;
		
		public function OperationSequenceEvent(type:String, operation:IOperation, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		
			this.operation = operation;
		}
		
	}
}